package com.zhongwang.mms.module.material.dao;

import com.zhongwang.mms.gen.entity.MMarkRelation;
import com.zhongwang.mms.gen.entity.MMarkRelationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MMarkRelationDao {
    long countByExample(MMarkRelationExample example);

    int deleteByExample(MMarkRelationExample example);

    int deleteByPrimaryKey(Integer mrtId);

    int insert(MMarkRelation record);

    int insertSelective(MMarkRelation record);

    List<MMarkRelation> selectByExample(MMarkRelationExample example);

    MMarkRelation selectByPrimaryKey(Integer mrtId);

    int updateByExampleSelective(@Param("record") MMarkRelation record, @Param("example") MMarkRelationExample example);

    int updateByExample(@Param("record") MMarkRelation record, @Param("example") MMarkRelationExample example);

    int updateByPrimaryKeySelective(MMarkRelation record);

    int updateByPrimaryKey(MMarkRelation record);
}